var users = require('./users')
var book = require('./book')
var zstx = require('./zstx')

/* GET home page. */
// router.get('/', function (req, res, next) {
//     res.render('index', {title: 'Express'});
// });

function router(app) {
    app.all('/', function (req, res, next) {
        res.render('index', {title: 'Express'});
    });
    app.use('/users',users)
    app.use('/books', book)
    app.use('/zstx', zstx)
}


module.exports = router;
